home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 3.1 / SGI EnlightenDSM 3.1.iso / SCO5X / COMMON / config / cmds next >
Text File  |  1999-04-16  |  8KB  |  231 lines

  1. #
  2. # Copyright (c) 1990-1999 Enlighten Software Solutions, Inc.
  3. #                      -- All Rights Reserved --
  4. #
  5.  
  6. #
  7. # Cmds file for SCO Open Desktop system.
  8. #
  9.  
  10. AT                /usr/bin/at
  11. BANNER            /usr/bin/banner
  12. ACCEPT            /usr/bin/accept %
  13. ALLPRINTERS       cd /usr/spool/lp/admins/lp/printers; /bin/ls
  14. ALLPRINTCLASS     cd /usr/spool/lp/admins/lp/printers; /bin/ls; \
  15.                   cd /usr/spool/lp/admins/lp/classes ; /bin/ls
  16. ATTPS             /bin/ps
  17. ATTPSEF           /bin/ps -ef | $ENLIGHTEN/bin/e_col \
  18.                   0:8L8 8:6r7 14:6r7 20:3r4 24:8R10 8:1l1 33:8L10 41:7r8 48:0-0
  19. ENLCANCEL         /usr/bin/cancel %
  20. CAT               /bin/cat '%'
  21. DFTFIX            /bin/df -t
  22. DISABLE           /usr/bin/disable -r"Disabled by system administrator" %
  23. ENABLE            /usr/bin/enable %
  24. FILETYPE          /bin/file '%'
  25. #FSCK              /etc/fsck %
  26. FUSER             /etc/fuser % 2> /dev/null | /usr/bin/tr ' ' '\\012' | \
  27.                   /bin/sort -u
  28. DUS               /bin/du -s % | \
  29.                   /usr/bin/awk ' { printf "\%d\\n", ($$1 + 1) / 2 } '
  30. GETMODELS         /bin/ls %
  31. LPCMD             /usr/bin/lp
  32. LPADMIN           /usr/lib/lpadmin %
  33. LPSCHED           /usr/lib/lpsched
  34. LPSHUT            /usr/lib/lpshut
  35. LPSTATA           /usr/bin/lpstat -a
  36. LPSTATC           /usr/bin/lpstat -c
  37. LPSTATD           /usr/bin/lpstat -d
  38. LPSTATO           /usr/bin/lpstat -o
  39. LPSTATP           /usr/bin/lpstat -p
  40. LPSTATR           /usr/bin/lpstat -r
  41. LPSTATV           /usr/bin/lpstat -v
  42. MAIL              /bin/mail %
  43. MKDIR             /bin/mkdir %
  44. MKNOD             /etc/mknod %
  45. NEWALIASES        /bin/true
  46. PACK              /usr/bin/pack
  47. #RETENSION         /bin/mt -f % retension
  48. RETENSION         /usr/bin/tape reten %
  49. RMFR              /bin/rm -fr "%"
  50. RUPTIME           /usr/bin/ruptime -a
  51. RWHOA             /usr/bin/rwho -a
  52. SHELL             /bin/sh
  53. MOUNT             /etc/mount %
  54. UCBWHO            /bin/who
  55. WHO               /bin/who -u
  56. WHOU              $ENLIGHTEN/bin/whou
  57.  
  58. ADDUSERCMD        /usr/bin/sh $ENLIGHTEN/scripts/adduser.rc
  59. MODUSERCMD        /usr/bin/sh $ENLIGHTEN/scripts/moduser.rc
  60. DELUSERCMD        /usr/bin/sh $ENLIGHTEN/scripts/deluser.rc
  61. DELHOMECMD        /usr/bin/sh $ENLIGHTEN/scripts/delhome.rc
  62.  
  63. GETBOOTCMDS       /bin/ls -d /etc/rc*.d/*
  64. BOOTFILTER        cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /bin/sort -u
  65.  
  66. # The awk script is to remove the first five fields from the file(s).
  67. # For AT&T type cron use /usr/spool/cron/crontabs/*/*
  68.  
  69. GETCRONCMDS       /bin/echo /usr/spool/cron/crontabs/* | /usr/bin/tr ' ' '\012' 
  70.  
  71. CRONFILTER        /usr/bin/egrep -v "^\#" % | \
  72.                   /usr/bin/awk ' { for (i = 6; i <= NF; i++) \
  73.                   printf ("\%s ", $$i); printf ("\\n"); } ' | \
  74.                   $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /bin/sort -u
  75.  
  76. # Command to determine if the autologout daemon gets started in an "rc" file.
  77. FINDALDCMD        /bin/cat % | $ENLIGHTEN/bin/shpp | /usr/sleuth/bin/shcmd | \
  78.                   /usr/bin/fgrep ulogout | /bin/wc -l
  79.  
  80. # Command to determine if the diskusage watchdog gets started in an "rc" file.
  81. FINDDWDCMD        /bin/cat % | $ENLIGHTEN/bin/shpp | /usr/sleuth/bin/shcmd | \
  82.                   /usr/bin/fgrep watchdisk | /bin/wc -l
  83.  
  84. # Command to determine if the network watchdog gets started in an "rc" file.
  85. FINDNETDWDCMD     /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  86.                   /usr/bin/fgrep bin/netwatchdisk | /bin/wc -l
  87.  
  88. # Password mamanagement program. We could update all the files ourselvs,
  89. # but why re-invent the wheel.
  90. PASSWMGMT         /usr/bin/passmgmt %
  91.  
  92. SH               /bin/sh
  93. RSH              /bin/rsh
  94. CSH              /bin/csh
  95. KSH              /bin/ksh
  96. RKSH             /bin/rksh
  97. TCSH             /bin/tcsh
  98.  
  99. BACKEND           $ENLIGHTEN/bin/backend
  100. COMPLETION        $ENLIGHTEN/bin/p_completion
  101. DFT               $ENLIGHTEN/bin/dft
  102. EPOOL             $ENLIGHTEN/bin/e_pool
  103. ERASE             $ENLIGHTEN/bin/erase -v %
  104. MOTNOTICE         "$ENLIGHTEN/bin/xdonotice -label \"ENLIGHTEN utar\" \
  105.                   -m1 \"Please mount new Volume\""
  106. OLNOTICE          "$ENLIGHTEN/bin/donotice -label \"ENLIGHTEN utar\" \
  107.                   -m1 \"Please mount new Volume\""
  108. HEXED             $ENLIGHTEN/bin/hexed '%'
  109. LPMOVE            $ENLIGHTEN/bin/p_lpmove %
  110. MYA2PS            $ENLIGHTEN/bin/psgen -l2
  111. NETUTAR           $ENLIGHTEN/bin/netutar
  112. NETWATCHDISK      $ENLIGHTEN/bin/netwatchdisk % &
  113. PPING             $ENLIGHTEN/bin/p_ping -s
  114. REMLP             $ENLIGHTEN/bin/remlp
  115. RFDIST            $ENLIGHTEN/bin/rfdist
  116. SECBOOT           $ENLIGHTEN/bin/secboot
  117. SECBREAKIN        $ENLIGHTEN/bin/secbreakin
  118. SECCRON           $ENLIGHTEN/bin/seccron
  119. SECDEVICE         $ENLIGHTEN/bin/secdevice
  120. SECGROUP          $ENLIGHTEN/bin/secgroup
  121. SECHOME           $ENLIGHTEN/bin/sechome
  122. SECPASSWD         $ENLIGHTEN/bin/secpasswd
  123. SECVITAL          $ENLIGHTEN/bin/secvital
  124. KP                $ENLIGHTEN/bin/kp
  125. SF                $ENLIGHTEN/bin/sf
  126. SNAPDIFF          $ENLIGHTEN/bin/p_snapdiff %
  127. SWAP              $ENLIGHTEN/bin/p_swap SCO
  128. ULOGOUT           $ENLIGHTEN/bin/ulogout %
  129. WATCHDISK         $ENLIGHTEN/bin/watchdisk % &
  130. XWATCHDOG         $ENLIGHTEN/bin/xwatchdog -iconic % &
  131. P_WIZPRINTER      $ENLIGHTEN/bin/p_wizprinter %
  132. P_WIZDISK         $ENLIGHTEN/bin/p_wizdisk %
  133. P_WIZUSER         $ENLIGHTEN/bin/p_wizuser %
  134. P_VULNERABLE      $ENLIGHTEN/bin/p_vulnerable %
  135. E_FINDKEY         $ENLIGHTEN/bin/e_findkey %
  136. E_NIPMASTER       $ENLIGHTEN/bin/e_nipmaster
  137. #P_ALLDISKS        $ENLIGHTEN/bin/p_alldisks
  138. #P_PARTITIONS      $ENLIGHTEN/bin/p_partition %
  139. #P_MAKEDEV         $ENLIGHTEN/bin/p_makedev SCO %
  140. #P_FORMAT          $ENLIGHTEN/bin/p_format  SCO %
  141. #P_NEWPARTS        $ENLIGHTEN/bin/p_newparts %
  142. #P_HASFS           $ENLIGHTEN/bin/p_hasfs %
  143.  
  144. RSHCMD            /usr/bin/rcmd %
  145. RLOGIN            /usr/bin/rlogin % -l enlcmd
  146. NETCAT            $ENLIGHTEN/bin/p_write
  147. TALK              /usr/bin/talk %
  148.  
  149. WINDOWACCESS      /usr/bin/X11/xwininfo -root
  150.  
  151. ENLWINDOW        /usr/bin/X11/xterm -e sh -c 'trap exit 1 2 3 4; \
  152.                  stty sane; clear; % ; echo ; \
  153.                  /bin/echo \"Hit Enter/Return to continue\\c\"; \
  154.                  read ans; rm -f %; exit' &
  155.  
  156. FORWINDOW        /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
  157.                  /bin/echo \"Hit Enter/Return to continue \\c\"; \
  158.                  read ans; exit'
  159.  
  160. BACKWINDOW       /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
  161.                  /bin/echo \"Hit Enter/Return to continue \\c\"; \
  162.                  read ans; exit' &
  163.  
  164. YPCAT             /usr/bin/ypcat %
  165. YPMAKE            (cd /etc/yp; make)
  166.  
  167. REMCP             /usr/bin/rcp
  168. REMSH             /usr/bin/rcmd
  169. TAPEDEVS          /bin/ls -1 /dev/*Stp*
  170. CRONTAB           /usr/bin/crontab %
  171.  
  172. DOMAINNAME        /usr/bin/domainname
  173. UNAME             /bin/uname -a
  174. NODENAME          /bin/uname -n
  175. IFCONFIG          /etc/ifconfig
  176. LANSCAN           /etc/ifconfig -a
  177. YPWHICH           /usr/bin/ypwhich
  178. SET_HOSTNAME      /bin/uname -S 
  179.  
  180. MAKE_CMD     /usr/bin/make 
  181. RMALL         /bin/rm -rf 
  182. XMKDIR         /bin/mkdir -p 
  183. KILL         /bin/kill 
  184. NAMED        /etc/named
  185. YPSERVD         /etc/ypserv -d 
  186. YPSERV         /etc/ypserv 
  187. YPPASSWDD     /etc/yppasswdd
  188. YPBIND         /etc/ypbind
  189. YPINIT         $ENLIGHTEN/bin/ypinit_sco5
  190. XYPCAT       /usr/bin/ypcat
  191. MAKEDBM         /etc/yp/makedbm 
  192. PS_CMD         /bin/ps -ef 
  193. MOUNTP          /etc/mount
  194. MOUNTNFS     $ENLIGHTEN/bin/e_timeout 180 /etc/mount -f NFS %
  195. UMOUNT         /etc/umount %
  196. EXPORTFS     /etc/exportfs %
  197. SHAREFS     /etc/exportfs
  198. UNEXPORTFS     /etc/exportfs -u
  199. MOUNTD        /etc/mountd
  200. NFSD        /etc/nfsd
  201.  
  202. # network printers
  203.  
  204. LPSTAT          /bin/lpstat -t
  205. LPD             /usr/lib/lpd
  206. STARTLPD        /usr/lib/lpd stop; /usr/lib/lpd start
  207.  
  208. # clock set/clock sync
  209.  
  210. SETTIME          $ENLIGHTEN/bin/settime
  211.  
  212. # cron
  213.  
  214. XCRONTAB         /usr/bin/crontab
  215. XLPADMIN         /usr/lib/lpadmin
  216.  
  217. RENLD         $ENLIGHTEN/bin/renld
  218. RENLDC         $ENLIGHTEN/bin/renldc
  219.  
  220. # Shutdown/Reboot
  221.  
  222. REBOOT           /etc/reboot
  223. SHUTDOWN         /etc/shutdown
  224. RWALL            /usr/bin/rwall
  225.  
  226. WALL            /etc/wall
  227. P_SHUTDOWN      $ENLIGHTEN/bin/p_shutdown %
  228. STATUSMAP       $ENLIGHTEN/bin/sm -p % -x
  229. TELNET          /usr/bin/telnet %
  230. XENLNALIVE    $ENLIGHTEN/bin/xenln_alive
  231.